package com.ls.fw.search.solrj.form.core;

import org.hibernate.validator.constraints.NotBlank;

public class UnloadForm{
	private Boolean deleteIndex = false;
	private Boolean deleteDataDir = false;
	private Boolean deleteInstanceDir = false;
	private String async;

	public UnloadForm() {
		super();
		this.action = "UNLOAD";
	}
	@NotBlank
	protected String action;
	protected String core;
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getCore() {
		return core;
	}
	public void setCore(String core) {
		this.core = core;
	}

	public String getAsync() {
		return async;
	}

	public void setAsync(String async) {
		this.async = async;
	}


	public Boolean getDeleteIndex() {
		return deleteIndex;
	}


	public void setDeleteIndex(Boolean deleteIndex) {
		this.deleteIndex = deleteIndex;
	}


	public Boolean getDeleteDataDir() {
		return deleteDataDir;
	}


	public void setDeleteDataDir(Boolean deleteDataDir) {
		this.deleteDataDir = deleteDataDir;
	}


	public Boolean getDeleteInstanceDir() {
		return deleteInstanceDir;
	}


	public void setDeleteInstanceDir(Boolean deleteInstanceDir) {
		this.deleteInstanceDir = deleteInstanceDir;
	}
}
